package com.fix.config;

import com.fix.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author lcz
 * @date 2020/4/23.
 * @Description
 */
@Configuration
public class UserConfig {
    @Bean
    public User user(){
        User user = new User();
        user.setName("张三");
        user.setAge(20);
        return user;

    }

}
